<script type="text/javascript">
function page(currentPage){
	var $pageForm = $("<form>");
	$pageForm.css("display","none").attr("method","post");
	var $mainForm = $("#form_pagination").eq(0);
	var $inputs = $mainForm.html();
	$pageForm.append($inputs)
		.append("<input type='hidden' name='currentPage' value='"+currentPage+"'/>")
		.attr("action", $mainForm.attr("action"));
	$("body").append($pageForm);
	$pageForm.submit();
}
</script>